package com.smooth.site.sx.pc.jifen.enums;

public enum JifenType {
	login(1, "每日登录"),
	wanshan(2, "完善信息"),
	shixicomp(3, "实习期满"),
	reword(4, "系统奖励"),
	goodsSub(5,"商品积分扣除"),
	;

	public Integer value;
	public String name;

	JifenType(int value, String name) {
		this.value = value;
		this.name = name;
	}

	public static JifenType getStatus(Integer value) {
		if (value != null) {
			JifenType[] otypes = JifenType.values();
			for (JifenType memberType : otypes) {
				if (value.equals(memberType.value)) {
					return memberType;
				}
			}
		}
		return null;
	}
}
